home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
015a
/
tech30.zip
/
TEC045.DOC
< prev
next >
Wrap
Text File
|
1993-04-06
|
3KB
|
59 lines
___________________________________________________________________________
STACKER NOTE STACKER NOTE
Title: Creating a Stacked RAM drive for Windows Temporary Swap Files
STACKER NOTE TEC045 - 02/08/93 STAC FAX Index #3006
___________________________________________________________________________
Background.
Windows can use temporary or permanent swap files as pseudo-memory. A
permanent swap file can only be created on a physical drive. A
temporary swap file can be created on either a physical or logical
drive. Temporary swap files are much slower than permanent swap files
because DOS must be used to access them. A temporary swap file on a
Stacker drive is even slower. A temporary swap file on a Stacked RAM
drive, however, can be faster than a permanent swap file. With an
observed compression ratio of 3.0:1, 3Mb of RAM that is allocated for
this purpose gives a total of 9MB of usable memory for a Windows
temporary swap file.
Procedure.
Modify your CONFIG.SYS file to create a RAM drive. In the example
below, X: is a generic representation of the drive letter for your RAM
drive. Substitute the actual drive letter taken by your RAM drive for
all references to X: below.
Sample CONFIG.SYS file.
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\RAMDRIVE.SYS 3072 /e (Add this line to create the RAM drive)
DEVICE=C:\STACKER\STACKER.COM C:\STACVOL.DSK @
DEVICE=C:\STACKER\SSWAP.COM C:\STACVOL.DSK /SYNC+
DEVICE=C:\STACKER\SCREATE.SYS X: /r=3 (Add this line to Stack your RAM drive)
where X: = the drive letter for the RAM drive
The next step is to add a line to your AUTOEXEC.BAT file, following
the PATH command line, to mount the Stacked RAM drive:
C:\STACKER\STACKER X:
Those of you who do not use Windows exclusively may want to add an
additional two lines to the AUTOEXEC.BAT file. This will permit other
DOS-based applications to use the Stacked RAM drive for storing
temporary files: These two lines should added after the command to
mount the Stacked RAM drive referenced above.
SET TEMP=X:\
SET TMP =X:\
Finally, in the Windows SYSTEM.INI file, make the following changes or
additions to allow Windows to use the Stacked RAM drive for a
temporary swap file:
[386enh]
PagingFile=X:\WIN386.SWP
MinUserDiskSpace=1
___________________________________________________________________________
Copyright 1993, Stac Electronics